package com.gmail.at.service;

import java.util.List;

import org.joda.time.DateTime;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import com.gmail.at.model.Schedule;
import com.gmail.at.model.Station;

public interface ScheduleService {
	public List<Schedule> findAll();
	public Schedule findById(Integer id);
	public String save(Schedule schedule);
	public String delete(Integer id);
	public List<Schedule> searchSchedule(Station beginStation,
			Station endStation, DateTime beginTime);
	public Page<Schedule> findAllByPage(Pageable pageable);
	public String update(Schedule temp, Schedule schedule);
}
